Other Classes
The following classes are available globally.
-
RoadGraph
provides methods to get edge shape (e.g.RoadGraph.Edge
) and metadata.You do not create a
See moreRoadGraph
object manually. Instead, observe theNotification.Name.electronicHorizonDidUpdatePosition
notification to obtain edge identifiers and get more details about the edges using theRouteController.roadGraph
orPassiveLocationDataSource.roadGraph
property.Declaration
Swift
public final class RoadGraph
-
See moreDispatchTimer
is a general-purpose wrapper over theDispatchSourceTimer
mechanism in GCD.Declaration
Swift
public class DispatchTimer
-
Provides methods for road object matching.
Matching results are delivered asynchronously via a delegate. In case of error (if there are no tiles in the cache, decoding failed, etc.) the object won’t be matched.
See moreDeclaration
Swift
final public class RoadObjectMatcher
-
Stores and provides access to metadata about road objects.
You do not create a
See moreRoadObjectStore
object manually. Instead, use theRouteController.roadObjectStore
orPassiveLocationDataSource.roadObjectStore
to access the currently active road object store.Declaration
Swift
public final class RoadObjectStore
extension RoadObjectStore: RoadObjectsStoreObserver
-
Proactively fetches tiles which may become necessary if the device loses its Internet connection at some point during passive or active turn-by-turn navigation.
Typically, you initialize an instance of this class and retain it as long as caching is required.
See moreDeclaration
Swift
public class PredictiveCacheManager
-
A rounded button with an icon that is designed to float above
See moreNavigationMapView
.Declaration
Swift
@objc(MBFloatingButton) open class FloatingButton : Button